snapshot: "Inherit" from GdkSnapshot
authorBenjamin Otte <otte@redhat.com>
Fri, 16 Feb 2018 05:30:48 +0000 (06:30 +0100)
committerBenjamin Otte <otte@redhat.com>
Fri, 16 Mar 2018 05:04:44 +0000 (06:04 +0100)
commitd4764cc89bd99fc8f4423ba06cc155ca88c40c60
tree1f05b7946ddc1f6ca5a3928716f1b23cbd70812b
parent8f43d7e18847faf024917d8ba48c4b3ac8c67296
snapshot: "Inherit" from GdkSnapshot

This is a neat trick to get around the circularity between GDK, GSK and
GTK that we inherit with the GdkPaintable interface.

GdkPaintable uses GtkSnapshot
GtkSnapshot creates GskRenderNodes
GskRenderNodes use GdkTextures
GdkTexture will soon implement GdkPaintable

This causes a loop that spans GDK, GSK and GTK and this is the easiest
way to resolve it without breaking bindings (at least that's the idea).
gtk/gtksnapshotprivate.h
gtk/gtktypes.h